<?php $this->extend('comm/page');?>

<form class="layui-form form-horizontal" action="<?php echo $container->url->build(''); ?>" method="post">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">账号:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="user" value="" lay-verify="required" lay-verType="tips" lay-reqText="请输入账号"
                placeholder="请输入账号" class="layui-input">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">密码:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="password" name="password" lay-verify="required|password" lay-verType="tips" id="consistent_value" lay-reqText="请输入密码" placeholder="请输入密码" class="layui-input">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">确认密码:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="password" name="repassword" lay-verify="required|consistent" lay-verType="tips" lay-reqText="请输入确认密码" placeholder="请输入确认密码" class="layui-input">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">昵称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" name="nickname" value="" lay-verify="required" lay-verType="tips" lay-reqText="请输入昵称"
                placeholder="请输入昵称" class="layui-input">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">状态:</label>
        <div class="col-xs-12 col-sm-8">
            <?php echo $this->build_radios('status', ['1'=>'有效', '2'=>'无效'], 1, [], true); ?>
        </div>
    </div>
    <div class="layui-form-item hidden layer-footer">
        <div class="col-xs-12 text-right">
            <button type="submit" class="btn btn-success" lay-submit lay-filter="submit">确认提交</button>
            <button type="reset" class="btn btn-default">重置</button>
        </div>
    </div>
</form>